package dao;

import java.util.List;

public interface ICommonDao<T> {
	public T find(int id);

	public T findByExample(T example);

	public void persist(T obj);

	public void remove(T obj);

	public void removeByExample(T example);

	public List<T> findAll();

	public List<T> findAllByExample(T example);

	public String getWhereClause(T obj);

}